
package com.studiofortress.sf.structure;

/**
 * This is used to filter through lists of Actors.
 * 
 * @author Joseph Lenton
 */
public interface Filter<A extends Actor>
{
    /**
     * States if the given value should be allowed or not allowed by whatever is
     * filtering actors.
     * @param actor The Actor to check if should be allowed.
     * @return True if the Actor should be allowed, false if not.
     */
    public abstract boolean accept(A actor);
}
